package com.night.icm.model.business;

import com.night.icm.common.utils.TermType;
import com.night.icm.model.base.CourseDTO;
import com.night.icm.model.base.TeacherDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * CourseTeacherDTO
 *
 * @author Liao ZhiYong
 * @date 2020/2/14
 */
@ApiModel(description = "课程开课信息")
@Data
public class CourseTeacherDTO {

    @ApiModelProperty(position = 110, value = "课程开课id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "年度，比如：2020年-2021年第一和第二学期都是2020年度的成绩")
    private String year;

    @ApiModelProperty(position = 130, value = "第一或第二学期，也叫上学期和下学期")
    private TermType termType;

    @ApiModelProperty(position = 140, value = "课程")
    private CourseDTO course;

    @ApiModelProperty(position = 150, value = "授课教师")
    private TeacherDTO teacher;

    @ApiModelProperty(position = 160, value = "考核方式", required = true)
    private String evaluationMode;

    @ApiModelProperty(position = 170, value = "是否开设本课程", required = true)
    private Boolean isOpen;

    @ApiModelProperty(position = 180, value = "课程名称")
    private String courseName;
}